﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestFileToFile.aspx.cs" Inherits="SVTTranslateTextEngine.TestWeb.TestFileToFile" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <h2>Test the function "TranslateFileToFile"</h2>
    <p><a href="Default.aspx"> Back to test funcation list page</a></p>
    <div>
        Select the source context file.<br />
        <asp:FileUpload runat="server" Width="480px" ID="fuSourceContext" />
        <br />
        <br />
        <asp:Button ID="btnTranslate" runat="server"
            Text="Translate" onclick="btnTranslate_Click" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:DropDownList ID="ddlFrom" runat="server">
            <asp:ListItem Selected="True" Value="">自动检测</asp:ListItem>
            <asp:ListItem Value="zh-CN">中文(简体)</asp:ListItem>
            <asp:ListItem Value="zh-TW">中文(繁体)</asp:ListItem>
            <asp:ListItem Value="en">English</asp:ListItem>
            <asp:ListItem Value="fr">Finnish</asp:ListItem>
            <asp:ListItem Value="vi">Vietnamese</asp:ListItem>
            <asp:ListItem Value="es">Spanish</asp:ListItem>
        </asp:DropDownList>
        &nbsp; =&gt;&nbsp;
        <asp:DropDownList ID="ddlTo" runat="server">
            <asp:ListItem Value="zh-CN">中文(简体)</asp:ListItem>
            <asp:ListItem Selected="True" Value="zh-TW">中文(繁体)</asp:ListItem>
            <asp:ListItem Value="en">English</asp:ListItem>
            <asp:ListItem Value="fr">Finnish</asp:ListItem>
            <asp:ListItem Value="vi">Vietnamese</asp:ListItem>
            <asp:ListItem Value="es">Spanish</asp:ListItem>
        </asp:DropDownList>
        <br />
        <br />
        <asp:TextBox ID="txtTrg" runat="server" Height="240px" Rows="16" 
            TextMode="MultiLine" Width="480px"></asp:TextBox>
        <p>
            <asp:Label ID="lblMsg" runat="server" Font-Bold="True" ForeColor="#006666"></asp:Label>
        </p>
    </div>
    </form>
</body>
</html>
